#ifndef _MASTERMEASURE_H
#define _MASTERMEASURE_H

#include <QWidget>
#include "ui_mastermeas.h"

class MasterMeasure : public QWidget
{
	Q_OBJECT

public:
	MasterMeasure(const QString &item, QWidget *parent = 0);
	~MasterMeasure();

private slots:
	void ButtonClicked();
	void ShowMasterData();

private:
	void FormShouldReturn();
	void SaveMasterResult();
	void StartMasterMeasure();

//	void initVlTable();
//	void initHueTable();
//	void initDlmTable();

	void ShowVlResult();
	void ShowHueResult();
	void ShowDlmResult();

	Ui_MasterMeas ui_;
	int master_kind_;	// 0-hue, 1-vl, 2-dlm
	int chn_no_;
};

#endif // _MASTERMEASURE_H
